<div class="pageContent">
	<form method="post" action="admin/clearing/detail/detailThaw" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<input type="hidden" name="clearingDetail.id" value="#(clearingDetail.id)" />
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>渠道编号：</label>
				<select name="clearingDetail.channelCode">
               		#for(channel : channelList)
               			<option value="#(channel.code )" #(channel.code == clearingDetail.channelCode ? 'selected' : '' )>#(channel.name )</option>
               		#end
				</select>
			</p>
			<p>
				<label>机构编号：</label>
				<input name="clearingDetail.orgCode" value="#(clearingDetail.orgCode)" type="text" size="30" readonly="readonly" />
			</p>
			<p>
				<label>商户编号：</label>
				<input name="clearingDetail.merchCode" value="#(clearingDetail.merchCode)" type="text" size="30" readonly="readonly" />
			</p>
			<p>
				<label>订单号：</label>
				<input name="clearingDetail.orderNo" value="#(clearingDetail.orderNo)" type="text" size="30" readonly="readonly" />
			</p>
			<p>
				<label>交易金额：</label>
				<input name="clearingDetail.amount" value="#(clearingDetail.amount)" type="hidden"/>
				<input name="fee" value="#number(clearingDetail.amount/100, '###,###.00')" type="text" size="30" readonly="readonly" />
			</p>
			<p>
				<label>日切日期：</label>
				<input name="clearingDetail.settleDate" value="#(clearingDetail.settleDate)" type="text" size="30" readonly="readonly" />
			</p>
			<p>
				<label>交易时间：</label>
				<input name="clearingDetail.payTime" value="#(clearingDetail.payTime)" type="text" size="30" readonly="readonly" />
			</p>
			<p>
				<label>手续费：</label>
				<input name="clearingDetail.fee" value="#(clearingDetail.fee)" type="hidden"/>
				<input name="fee" value="#number(clearingDetail.fee/100, '###,###.00')" type="text" size="30" readonly="readonly" />
			</p>
			<p>
				<label>支付类别：</label>
				<select name="clearingDetail.payTypeCode">
               		#for(payType : payTypeList)
               			<option value="#(payType.code )" #(payType.code == clearingDetail.payTypeCode ? 'selected' : '' )>#(payType.name )</option>
               		#end
				</select>
			</p>
			<p>
				<label>对账状态：</label>
				#if(clearingDetail.compareStatus == '0')
					<input value="初始状态" type="text" size="30" readonly="readonly" />
				#end
				#if(clearingDetail.compareStatus == '1')
					<input value="本地差错" type="text" size="30" readonly="readonly" />
				#end
				#if(clearingDetail.compareStatus == '2')
					<input value="渠道差错" type="text" size="30" readonly="readonly" />
				#end
				#if(clearingDetail.compareStatus == '3')
					<input value="本地成功" type="text" size="30" readonly="readonly" /> 
				#end
				#if(clearingDetail.compareStatus == '4')
					<input value="渠道成功" type="text" size="30" readonly="readonly" />
				#end
				#if(clearingDetail.compareStatus == '5')
					<input value="对账成功" type="text" size="30" readonly="readonly" />
				#end
			</p>
			<p>
				<label>出账状态：</label>
				#if(clearingDetail.paymentStatus == '0')
					<input value="初始" type="text" size="30" readonly="readonly" /> 
				#end
				#if(clearingDetail.paymentStatus == '1')
					<input value="冻结" type="text" size="30" readonly="readonly" /> 
				#end
				#if(clearingDetail.paymentStatus == '2')
					<input value="解冻" type="text" size="30" readonly="readonly" />   
				#end
				#if(clearingDetail.paymentStatus == '3')
					<input value="未知" type="text" size="30" readonly="readonly" />  
				#end
				#if(clearingDetail.paymentStatus == '4')
					<input value="失败" type="text" size="30" readonly="readonly" /> 
				#end
				#if(clearingDetail.paymentStatus == '5')
					<input value="成功" type="text" size="30" readonly="readonly" /> 
				#end
			</p>
			<p>
				<label>导入时间：</label>
				<input name="clearingDetail.importTime" value="#(clearingDetail.importTime)" type="text" size="30" readonly="readonly" />
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive"><div class="buttonContent"><button type="submit">解冻</button></div></div>
				</li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
